package com.ja.openchat.adapters;

import android.view.View;
import android.widget.FrameLayout;
import android.widget.ImageView;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.ja.openchat.R;
import com.ja.openchat.views.CirclePrepareView;

public class CircleHomeViewHolder extends BaseViewHolder {

    public FrameLayout mPlayerContainer;
    public CirclePrepareView mPrepareView;
    public ImageView mThumb;
    public View player_container_wrapper;

    public CircleHomeViewHolder(@NonNull View view) {
        super(view);
        mPlayerContainer = findView(R.id.player_container);
        mPrepareView = findView(R.id.prepare_view);
        if(mPrepareView!=null){
            mThumb = mPrepareView.findViewById(R.id.thumb);
        }
        player_container_wrapper = findView(R.id.player_container_wrapper);
        itemView.setTag(this);
    }
}
